
(function(ns){

var Hu = ns.Hu = Hilo.Class.create({
    Extends: Hilo.Sprite,
    constructor: function(properties){
		//console.log(properties)
        Hu.superclass.constructor.call(this, properties);
        this.addFrame(properties.atlas.getSprite('hu'));
        this.interval = 6;
        this.pivotX = 0;
        this.pivotY = 0;
		//this.background = "#000000";
    },
    getReady: function(){
        this.play();
        //this.tween = Hilo.Tween.to(this, {x:this.endX ,y:this.endY, rotation:this.endRot}, {duration:this.duration,ease:this.ease, reverse:true, loop:true});
    },
    onUpdate: function(){
        //console.log(this.score)
    }
});

})(window.game);